package com.chiasma.studioadmin.model;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

/**
 * StudioAdmin
 * @author Kenny 
 * Jun 29, 2009 - 5:32:52 PM
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class EmergencyContact {
	
	
	private static final String RELATIONSHIP_PARENTS_FATHER = "Father";
	private static final String RELATIONSHIP_PARENTS_MOTHER = "Mother";
	private static final String RELATIONSHIP_MAIDEN = "Maiden";
	
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;
	
	@Persistent
	private Student student;
	
	@Persistent
	private String lastName;
	
	@Persistent
	private String firstName;
	
	@Persistent
	private String relationshipWithStudent;
	
	@Persistent
	private String contactAtHome;
	
	@Persistent
	private String contactAtMobile;

	
	/**
	 * Auto-Generated Getter and Setter
	 */
	public Long getId() {
		return id;
	}

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getRelationshipWithStudent() {
		return relationshipWithStudent;
	}

	public void setRelationshipWithStudent(String relationshipWithStudent) {
		this.relationshipWithStudent = relationshipWithStudent;
	}

	public String getContactAtHome() {
		return contactAtHome;
	}

	public void setContactAtHome(String contactAtHome) {
		this.contactAtHome = contactAtHome;
	}

	public String getContactAtMobile() {
		return contactAtMobile;
	}

	public void setContactAtMobile(String contactAtMobile) {
		this.contactAtMobile = contactAtMobile;
	}	
}
